﻿using DaBF.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace DaBF.Data
{
    public class mySqlDbContext:DbContext
    {
        public mySqlDbContext(DbContextOptions<mySqlDbContext> options)
            : base(options)
        {}

        public DbSet<Article> Articles { get; set; }
        public DbSet<Category> Categorys { get; set; }
    }
}
